package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * cences_store_data
 * @author 
 */
@Data
@ApiModel("")
public class CencesStoreData implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 记录日期
     */
    @ApiModelProperty("记录日期")
    private Integer time;

    /**
     * 安装渠道
     */
    @ApiModelProperty("安装渠道")
    private String brand;

    /**
     * 新增用户
     */
    @ApiModelProperty("新增用户")
    private Integer newMember;

    /**
     * 新增设备
     */
    @ApiModelProperty("新增设备")
    private Integer newResigiter;

    /**
     * 新用户每日必赚完成数
     */
    @ApiModelProperty("新用户每日必赚完成数")
    private Integer newEarnCount;

    /**
     * 完成人数
     */
    @ApiModelProperty("完成人数")
    private Integer newEarnOnlyCount;

    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    private LocalDateTime modifyTime;

    /**
     * 逻辑删除
     */
    @ApiModelProperty("逻辑删除")
    private Integer hasDeleted;

    /**
     * 应用id
     */
    @ApiModelProperty("应用id")
    private Integer appId;

    private static final long serialVersionUID = 1L;

    public CencesStoreData(int i, String appStore, int time,Integer appId) {
        BigDecimal o = new BigDecimal(i);
        this.newMember = i;
        this.newResigiter = i;
        this.newEarnCount = i;
        this.newEarnOnlyCount = i;
        this.brand = appStore;
        this.time = time;
        this.createTime = LocalDate.now();
        this.appId=appId;

    }public CencesStoreData() {


    }
}